package san;

import java.util.Scanner;

public class test {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.print("请输入三角形的三条边长：");
        int a = input.nextInt();
        int b = input.nextInt();
        int c = input.nextInt();
        try {
            Triangle triangle1 = new Triangle(a, b, c);
            System.out.println("三角形创建成功");
        } catch (myException e) {
            System.out.println(e.getMessage());
        }
    }
}